package com.zm.api.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import lombok.Data;
import org.springframework.stereotype.Component;

@Component
@TableName(value = "userinfo")
@Data
public class UserInfo extends Model<UserInfo> {
    @TableId(type = IdType.AUTO)
    private Long id;
    private String name;
    private Long money;
}
